package com.nbot.server.mapper.fourth;

import com.nbot.server.domain.AlarmDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author nbot
 * @email nbot@163.com
 * @date 2018-07-07 20:27:29
 */
@Mapper
public interface AlarmMapper {

	AlarmDO get(String ioservername);
	
	List<AlarmDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(AlarmDO alarm);
	
	int update(AlarmDO alarm);
	
	int remove(String ioservername);
	
	int batchRemove(String[] ioservernames);
}
